package com.frejoys.common.dto.admin;

import com.frejoys.common.dto.common.IdDto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ActivityUpDto extends IdDto {

    @NotBlank
    @Schema(type = "String", name = "name", description = "活动名称", required = false, defaultValue = "")
    private String name;

    @NotNull
    @Schema(type = "Integer", name = "type", description = "活动类型：1排队免单，2共享股东", required = false, defaultValue = "")
    private Integer type;
}
